package com.jt.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jt.pojo.BasePojo;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("tb_item_cat")
public class ItemCat extends BasePojo {
    private static final long serialVersionUID = 1760413277101319363L;

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long parentId;   //父级ID
    private String name;	 //分类名称
    private Integer status;  //状态信息 1正常 2删除
    private Integer sortOrder; //排序号
    private Boolean isParent;	//是否为父级 true/false

}
